#include "customthread.h"


CustomThread::CustomThread(QWidget *parent):QThread(parent)
{

}

void CustomThread::setsendInterTime(int time)
{
    sendInterTime = time;
}

void CustomThread::run()
{
    while(true)
    {
        msleep(sendInterTime);
        emit threadTimeout();
    }
}
